package com.yl.navigation.repo

import com.yl.common.base.BaseRepository
import com.yl.common.network.RespStateData
import com.yl.navigation.api.TreeApi
import com.yl.navigation.bean.TreeBean

/**
 * Created by stew on 8/5/22.
 */
class TreeRepo(private val api: TreeApi) : BaseRepository() {
    suspend fun getTree(data: RespStateData<List<TreeBean>>) = dealResp({ api.getTree() }, data)

}